$OpenBSD: patch-utils_kamctl_kamctl_base,v 1.3 2013/04/16 11:13:04 sthen Exp $
--- utils/kamctl/kamctl.base.orig	Mon Mar 11 17:27:18 2013
+++ utils/kamctl/kamctl.base	Thu Mar 14 16:14:41 2013
@@ -501,7 +501,7 @@ EOF
 mdbg() {
 	if [ "0$VERBOSE" -ne 0 ] ; then
 		if [ -t 1 -a -z "$NOHLPRINT" ] ; then
-			echo -e "\033[1m$1\033[0m"
+			printf "\033[1m$1\033[0m\n"
 		else
 			echo "$1"
 		fi
@@ -510,7 +510,7 @@ mdbg() {
 
 mwarn() {
 	if [ -t 1 -a -z "$NOHLPRINT" ] ; then
-		echo -e '\E[37;32m'"\033[1mWARNING: $1\033[0m"
+		printf '\e[37;32m'"\033[1mWARNING: $1\033[0m\n"
 	else
 		echo "** WARNING: $1"
 	fi
@@ -518,7 +518,7 @@ mwarn() {
 
 minfo() {
 	if [ -t 1 -a -z "$NOHLPRINT" ] ; then
-		echo -e '\E[37;33m'"\033[1mINFO: $1\033[0m"
+		printf '\e[37;33m'"\033[1mINFO: $1\033[0m\n"
 	else
 		echo "** INFO: $1"
 	fi
@@ -526,7 +526,7 @@ minfo() {
 
 mecho() {
 	if [ -t 1 -a -z "$NOHLPRINT" ] ; then
-		echo -e "\033[1m$1\033[0m"
+		printf "\033[1m$1\033[0m\n"
 	else
 		echo "$1"
 	fi
@@ -534,7 +534,7 @@ mecho() {
 
 merr() {
 	if [ -t 1 -a -z "$NOHLPRINT" ] ; then
-		echo -e '\E[37;31m'"\033[1mERROR: $1\033[0m"
+		printf '\e[37;31m'"\033[1mERROR: $1\033[0m\n"
 	else
 		echo "** ERROR: $1"
 	fi
